package hankz.spring.beans.factory;

import hankz.spring.beans.BeansException;

/**
 * @auther zzc
 * @date 2021 11 23
 *
 *  定义FactoryBean接口
 *
 */
public interface FactoryBean<T> {

    //获取对象
    T getObject() throws BeansException;

    //对象类型
    Class<?> getObjectType();

    //是否是单例对象
    boolean isSingleton();
}
